package com.mes.biz.mapper;

import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizWarehouseSpace;

import java.util.List;

/**
 * 仓位管理Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-04-09
 */
public interface BizWarehouseSpaceMapper extends BaseMapper<BizWarehouseSpace>
{

    /**
     * 批量删除仓位管理
     * @param ids 需要删除的仓位管理ID集合
     * @return
     */
    public int deleteBizWarehouseSpaceByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);

    public List<BizWarehouseSpace> spaceList(@Param("warehouseId") String warehouseId, @Param("productId") String productId);

    public BizWarehouseSpace getSpaceIdBySpaceWithWarehouseId(@Param("warehouseId") String warehouseId, @Param("postion") String postion);



}
